import http from '@/utils/http'
/*联合会员产品统计数据查询-API*/ 
export const productStatisticsPosts =  (params:any)=>{
    return http.post('/api/associateMember/productStatistics/page',params)
}
/*联合会员订单（签约）信息查询-API*/ 
export const associateMemberOrderPagePost =  (params:any)=>{
    return http.post('/api/associateMember/order/page',params)
}
/*联合会员订单（签约）信息查询 详情-API*/ 
export const associateMemberOrderDetailGet =  (params:any)=>{
    return http.getRestApi('/api/associateMember/order/detail',params)
}
/*联合会员订单（支付）信息查询-API*/ 
export const associateMemberPaymentPagePost =  (params:any)=>{
    return http.post('/api/associateMember/payment/page',params)
}
/*联合会员订单（支付）信息查询 详情-API*/ 
export const associateMemberPaymentDetailGet =  (params:any)=>{
    return http.getRestApi('/api/associateMember/payment/detail',params)
}

/* 订单解约 */
export const associateMemberCommandRescindOrderPost =  (params:any)=>{
    return http.post('/api/associateMember/command/rescindOrder',params)
}
/* 退款订单-web端调用 */
export const associateMemberCommandRefundOrderPost =  (params:any)=>{
    return http.post('/api/associateMember/command/refundOrder',params)
}